import pandas as pd

table = pd.read_csv('static_bag_GGA.csv')

print(table)

lat_mean = table['Latitude'].mean()
lon_mean = table['Longitude'].mean()

time_start = table['Beijing Time'][0]
time_end = table['Beijing Time'][len(table)-1]


print('北京时间{}-{}'.format(time_start, time_end))
print('纬度平均: {:.7f}'.format(lat_mean))
print('经度平均: {:.7f}'.format(lon_mean))
